package models

import (
	"time"

	. "gddgame.cc/galaxy/common/dsl/db"
	"gddgame.cc/galaxy/utils/orm"
)

var (
	AppFeedbackModel = orm.NewModel("app_feedback", &AppFeedback{}, nil)
)

func init() {
	AddTable(&Table{
		Model: AppFeedbackModel,
	})
}

type AppFeedback struct {
	Id      int    `json:"id" orm:"auto" sql:"INT"`
	UserId  int    `json:"user_id" sql:"INT"`
	AppId   int    `json:"app_id" sql:"INT"`
	Message string `json:"message" sql:"TEXT"`

	CreateTime *time.Time `json:"create_time" orm:"createTime" sql:"DATETIME"`
}
